//blog is implmented using another express app
//'app mounting'

//a dev blog with news from Programmer, Artist, and Composer

var app = module.exports = require('express')();

// '/blog'
app.get('/', function (req, res, next) {
    res.writeHead(200);
    res.end('demo gallery goes here!');
});

// '/blog/:post'
app.get('/:post', function(req, res, next) {
    res.writeHead(404);
    res.end('blog ' + req.params.post + ' not found!');
});
